package cn.iocoder.yudao.module.wine.controller.app.memberopenlog.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 会员开通记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppMemberOpenLogRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "20971")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13918")
    @ExcelProperty("用户id")
    private Long userId;

    @Schema(description = "交易金额(分)", requiredMode = Schema.RequiredMode.REQUIRED, example = "5541")
    @ExcelProperty("交易金额(分)")
    private Integer price;

    @Schema(description = "交易号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("交易号")
    private String tradeNo;

    @Schema(description = "会员类型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "428")
    @ExcelProperty("会员类型id")
    private Long memberTypeId;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "支付类型 1会员开通 2团长保证金", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("支付类型 1会员开通 2团长保证金")
    private Integer type;

    @Schema(description = "开通时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("开通时间")
    private LocalDate startDate;

    @Schema(description = "结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("结束时间")
    private LocalDate endDate;
}
